package com.hddx.servie;

import com.hddx.Dao.StudentDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

@Repository
//@Component("studentservice")
public class StudentServiceImpl implements StudentService {
    @Autowired

    private StudentDao studentDao;
    @Override
    public void queryStudent(){
        studentDao.queryStudent();
    }
}
